package com.prawn.ift.ctrlequipment.service;


import com.prawn.ift.ctrlequipment.pojo.CtrlequipmentType;
import entity.Result;
import entity.Result;

import java.util.List;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/10/21
 * @DESC： 控制设备类型信息服务接口
 */
public interface CtrlEquipmentTypeService {

    //增加控制设备
    Result addCtrlequipmentType(CtrlequipmentType ctrlEquipmentType);

    //删除控制设备
    Result deleteCtrlequipmentType(String id);

    //修改控制设备
    Result editCtrlequipmentType(CtrlequipmentType ctrlEquipmentType);

    //查询控制设备
    CtrlequipmentType getCtrlequipmentTypeById(String id);
    Result getCtrlequipmentTypePid(String parentId);
    Result getCtrlequipmentTypeList();
    Result getCtrlequipmentTypeTree();

    Result batchDelByIds( List<String> ids);
}
